package com.datang.pet.mapper;

import com.datang.pet.pojo.TalkLikeRecord;
import com.datang.pet.pojo.TalkLikeRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TalkLikeRecordMapper {
    long countByExample(TalkLikeRecordExample example);

    int deleteByExample(TalkLikeRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(TalkLikeRecord record);

    int insertSelective(TalkLikeRecord record);

    List<TalkLikeRecord> selectByExample(TalkLikeRecordExample example);

    TalkLikeRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TalkLikeRecord record, @Param("example") TalkLikeRecordExample example);

    int updateByExample(@Param("record") TalkLikeRecord record, @Param("example") TalkLikeRecordExample example);

    int updateByPrimaryKeySelective(TalkLikeRecord record);

    int updateByPrimaryKey(TalkLikeRecord record);
}